RankingCtrl = {};
local this = RankingCtrl;

local transform;
local gameObject;

function RankingCtrl.New()
    logWarn("RankingCtrl.New--->>>");
    return this;
end

function RankingCtrl.Awake()
    logWarn("RankingCtrl.Awake --->>>");
end

function RankingCtrl.OnCreate(obj)
    gameObject = obj;
    transform = obj.transform;

    --这里写创建RankItem逻辑
    --UIEventEx.AddButtonClick
end

function RankingCtrl.OnClick(go)
    destroy(gameObject);
end

function RankingCtrl.Close()
    
end